package com.afei.bottomtabbar.base;

import android.os.Bundle;
import android.support.annotation.Nullable;

/**
 * @Author： linhuaming
 * @ Date ： 2019/01/09 19:17:17
 * @Email ： linhuaming0603@outlook.com
 */
public abstract class BaseActivity extends HoleCompatActivity {

    protected abstract int contentViewLayoutId();

    protected abstract void initView();

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(contentViewLayoutId());
        initView();
    }

}
